package com.songshuai.webapi.baseapi.model.sales;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.persistence.Column;
import java.util.Date;
@Data
public class CustomerAction {

    /**id */
    private String id;

    /**文章id*/
    private String sopId;

    /**行为 1:浏览,2:分享,3:点赞,4:评价*/
    private Integer action;

    /**行为人*/
    private String actionUser;

    /**行为人手机号 */
    private String userMobile;

    /**行为人姓名 */
    private String userName;

    /**行为时间 */
    @Column(name = "lookTime")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date lookTime;

    /**浏览时长  单位：s */
    private Integer browseTime;

    /**分享场景1:朋友圈,2:朋友 */
    private Integer shareType;


}
